package com.youchuang.action.indent;

import org.apache.log4j.Logger;
import org.apache.struts2.convention.annotation.Action;
import org.apache.struts2.convention.annotation.InterceptorRef;
import org.apache.struts2.convention.annotation.Namespace;
import org.apache.struts2.convention.annotation.ParentPackage;
import org.apache.struts2.convention.annotation.Result;

import com.youchuang.action.BaseAction;
import com.youchuang.common.Constant;

/**
 * 送货地址页面
 * 
 * @author Administrator
 *
 */
@Namespace(value = "/indent")
@ParentPackage("shopping-default")
public class AddressFormAction extends BaseAction{
	private Logger logger = Logger.getLogger(AddressFormAction.class.getSimpleName());

	@Action(value = "addressForm", interceptorRefs = { @InterceptorRef(value = "loginStack") }, results = {
			@Result(name = Constant.SUCCESS, location = "/WEB-INF/jsp/indent/address_form.jsp") })
	public String execute() throws Exception {
		logger.info("execetion is execute");
		return Constant.SUCCESS;

	}
}
